/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package quizzempire.model.statemachine;

import quizzempire.model.Model;

/**
 *
 * @author Paulo
 */
public class ShowResults extends State {

    int difficulty;
    
    public ShowResults(Model modelo, int difficulty) {
        super(modelo);
        this.difficulty = difficulty;
    }

    @Override
    public State restart() {
        return new AwaitsInstruction(modelo);
    }

    @Override
    public State playAgain() {
        return new AwaitsAnswer(modelo, difficulty);
    }
    
    
    
    
    
}
